package com.hehua.CommandPatternQueue;

public class Client {
    public static void main(String[] args) {
        CommandQueue commandQueue = new CommandQueue();
        commandQueue.addCommand(new ExitCommand());
        commandQueue.addCommand(new HelpCommand());
        FunctionButton button = new FunctionButton(commandQueue);
        button.click();

    }
}
